Headlines
Loading...
C Program to enter temp in centigrade n convert it to fahrenheit

C Program to enter temp in centigrade n convert it to fahrenheit

C Program to enter temp in centigrade n convert it to fahrenheit

#include<stdio .h="">
#include<conio .h="">
void main()
{
float c,f;
clrscr();
printf("\nEnter temp in centigrade:");
scanf("%f",&amp;c);
f=c*1.8+32;
printf("\nConverted to fahrenhite:%0.2f",f);
getch();
}

*************OUTPUT**************

Enter temp in centigrade:10

Converted to fahrenhite:50.00</conio></stdio>
*** PLEASE checkout the Best deals from for top sites like Amazon, Flipkart etc ***